﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using UMLDesigner.Widgets;

namespace UMLDesigner.Context
{
	abstract class Context
	{
		public virtual void OnPaint(object sender, PaintEventArgs e){}
		public virtual void OnMouseDown(object sender, MouseEventArgs e) {}
		public virtual void OnMouseMove(object sender, MouseEventArgs e) {}
		public virtual void OnMouseUp(object sender, MouseEventArgs e) {}
		public virtual void OnMouseClick(object sender, MouseEventArgs e) {}
		public virtual void OnKeyDown(object sender, KeyEventArgs e) {}
		public virtual void OnKeyUp(object sender, KeyEventArgs e) {}
		public virtual void OnKeyPress(object sender, KeyEventArgs e) {}
		public virtual void OnSetFocus() {}
		public virtual void OnKillFocus() {}

		protected UMLWidget relatedWidget = null;
	}
}
